﻿using System.Web.Mvc;

namespace WJ.Infrastructure.Autofac
{
    public class MvcDependencyResolver:IDependencyResolver
    {
        public T Resolve<T>()
        {
            return DependencyResolver.Current.GetService<T>();
        }
    }
}